package com.google.memoryofaplace.model;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class TBAdmins {
	public TBAdmins(String user, int type) {
		super();
		this.user = user;
		this.type = type;
	}
	@PrimaryKey
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	private Long codAdmin;
	@Persistent
	private String user;
	@Persistent
	private int type;
	
	public void setCodAdmin(Long codAdmin) {
		this.codAdmin = codAdmin;

	}
	public Long getCodAdmin() {
		return codAdmin;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getUser() {
		return user;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getType() {
		return type;
	}
}
